/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.api.wrapper.gasWorkTask;

import java.math.BigDecimal;
import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.common.annotation.validator.ValidatorLenMin;
import org.opsli.common.enums.ValidatorType;
import org.opsli.plugins.excel.annotation.ExcelInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 燃气派单记录表 Model
*
* @author Ljc
* @date 2022-07-21 13:35:25
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class GasWorkTaskRecordModel extends ApiWrapper {

    /** 公司编号 */
    @ApiModelProperty(value = "公司编号")
    @ExcelProperty(value = "公司编号", order = 1)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String devid;

    /** 公司名称 */
    @ApiModelProperty(value = "公司名称")
    @ExcelProperty(value = "公司名称", order = 2)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String devname;

    /** 工单表ID */
    @ApiModelProperty(value = "工单表ID")
    @ExcelProperty(value = "工单表ID", order = 3)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String workId;

    /** 负责人编号 */
    @ApiModelProperty(value = "负责人编号")
    @ExcelProperty(value = "负责人编号", order = 4)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String userId;

    /** 维修员名称 */
    @ApiModelProperty(value = "维修员名称")
    @ExcelProperty(value = "维修员名称", order = 5)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String userName;

    /** 工单类型 1灶具维修，2表具维修，3开关气，4抢险（室外），5抢险（室内），6工程挂表，7改造挂表 */
    @ApiModelProperty(value = "工单类型 1灶具维修，2表具维修，3开关气，4抢险（室外），5抢险（室内），6工程挂表，7改造挂表")
    @ExcelProperty(value = "工单类型 1灶具维修，2表具维修，3开关气，4抢险（室外），5抢险（室内），6工程挂表，7改造挂表", order = 6)
    @ExcelInfo
    @ValidatorLenMax(1)
    private String workType;

    /** 任务下发时间 */
    @ApiModelProperty(value = "任务下发时间")
    @ExcelProperty(value = "任务下发时间", order = 7)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String beginTime;

    /** 任务完成时间 */
    @ApiModelProperty(value = "任务完成时间")
    @ExcelProperty(value = "任务完成时间", order = 8)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String endTime;

    /** 任务提交时间 */
    @ApiModelProperty(value = "任务提交时间")
    @ExcelProperty(value = "任务提交时间", order = 9)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String finishTime;

    /** 用户名称 */
    @ApiModelProperty(value = "用户名称")
    @ExcelProperty(value = "用户名称", order = 10)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String workUserName;

    /** 用户地址 */
    @ApiModelProperty(value = "用户地址")
    @ExcelProperty(value = "用户地址", order = 11)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String workUserAddress;

    /** 用户电话 */
    @ApiModelProperty(value = "用户电话")
    @ExcelProperty(value = "用户电话", order = 12)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String workUserPhone;

    /** 单据描述 */
    @ApiModelProperty(value = "单据描述")
    @ExcelProperty(value = "单据描述", order = 13)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String workDescription;

    /** 工单状态 0 待办 1未完成 2已完成 */
    @ApiModelProperty(value = "工单状态 0 待办 1未完成 2已完成")
    @ExcelProperty(value = "工单状态 0 待办 1未完成 2已完成", order = 14)
    @ExcelInfo
    @ValidatorLenMax(1)
    private String workState;

    /** 图片 */
    @ApiModelProperty(value = "图片")
    @ExcelProperty(value = "图片", order = 15)
    @ExcelInfo
    @ValidatorLenMax(65535)
    private String workPic;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "备注", order = 16)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String comment;

    /** 未完成原因 */
    @ApiModelProperty(value = "未完成原因")
    @ExcelProperty(value = "未完成原因", order = 17)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String reason;

    /** 任务下发人 */
    @ApiModelProperty(value = "任务下发人")
    @ExcelProperty(value = "任务下发人", order = 19)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String manager;



}
